cmake_minimum_required(VERSION 2.8)
project(CJSON)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
set(SRC_MAIN test.c)
set(SRC_JSON ./jsonparse.c ./jsontree.c)

aux_source_directory(./ PROJECT_ROOT)

add_executable(cjson ${SRC_MAIN} ${SRC_JSON})
#TARGET_LINK_LIBRARIES(pthread dl)
